package cn.iocoder.yudao.module.wms.dal.mysql.rdrecord09;

import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.wms.dal.dataobject.rdrecord09.Rdrecords09DO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 其他出库子 Mapper
 *
 * @author 曾劲松
 */
@Mapper
public interface Rdrecords09Mapper extends BaseMapperX<Rdrecords09DO> {

    default List<Rdrecords09DO> selectListByOrderId(Long orderId) {
        return selectList(Rdrecords09DO::getOrderId, orderId);
    }

    default int deleteByOrderId(Long orderId) {
        return delete(Rdrecords09DO::getOrderId, orderId);
    }

}
